﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using AgilePlannerDT.Data;

namespace AgilePlannerDT.Display.Events
{
    public class IndexCardPropertyChangedEventArgs : PropertyChangedEventArgs
    {
        protected object before, after;
        protected bool isLocationUpdate;

        public IndexCardPropertyChangedEventArgs(string propertyName, object before, object after)
            : base(propertyName)
        {
            this.before = before;
            this.after = after;
        }

        public object Before
        {
            get { return this.before; }
            set { this.before = value; }
        }

        public object After
        {
            get { return this.after; }
            set { this.after = value; }
        }

        public bool IsLocationUpdate
        {
            get { return isLocationUpdate; }
            set { this.isLocationUpdate = value; }
        }
    }
}
